package com.ioffice.export.excel.engine.data.excel.impl.tree;

import java.util.List;

import com.ioffice.exception.IOfficeException;
import com.ioffice.export.excel.data.ExcelSheetDataInfo;
import com.ioffice.export.excel.engine.data.excel.impl.AbstractEngineDataSheetCompent;
import com.ioffice.export.excel.sheet.tree.SheetDataBody;
import com.ioffice.export.excel.type.ExcelSheetType;

public class EngineDataSheetTreeDataBody extends AbstractEngineDataSheetCompent{

	private int colCount=0;
	private int rowCount=0;
	
	public EngineDataSheetTreeDataBody(){
		
	}
	
	public EngineDataSheetTreeDataBody(int colCount,int rowCount) {
		compent=new SheetDataBody(rowCount,colCount);
	}
	
	@Override
	public void data2SheetCompent(List<ExcelSheetDataInfo> datas,ExcelSheetType sheetType) throws IOfficeException {
		compent=new SheetDataBody(rowCount,colCount);
	}
	public void setColCount(int colCount) {
		this.colCount = colCount;
	}
	public void setRowCount(int rowCount) {
		this.rowCount = rowCount;
	}
}
